import { ApiProperty } from '@nestjs/swagger';

export class LoginUserDto {
  @ApiProperty({ example: 'admin', description: '用户名' })
  username: string;
  @ApiProperty({ example: 'admin', description: '密码' })
  password: string;
  @ApiProperty({ example: '1122', description: '验证码' })
  code: string;
}
